try {
if (hm.registerNewHouse(newRh)) {
- owner.getRuralHouses().add(newRh);
- houseBox.removeItem(rh);
feedback.setText("House properly modified");
} else
feedback.setText("Imposible to modify the house");
} catch (RemoteException e) {
- // TODO Auto-generated catch block
e.printStackTrace();
}